package cn.sumpu.app.guoguojie.biz;

import java.util.List;

import cn.sumpu.app.guoguojie.domain.AppEvent;
import cn.sumpu.app.guoguojie.exception.AppBusinessException;

public interface AppEventBiz {
	public AppEvent insert(AppEvent appEvent) throws AppBusinessException;

	public void update(AppEvent appEvent) throws AppBusinessException;
	
	public List<AppEvent> getAppEventByFamily(String family)throws AppBusinessException;
	
	public List<AppEvent> getAppEventByDay(String family,String day)throws AppBusinessException;
	
	public AppEvent getAppEventLatestNow(String family)throws AppBusinessException;
	
	public AppEvent getAppEventLatestFutre(String family)throws AppBusinessException;
	
	public int getMainAppEventCount(String family)throws AppBusinessException;
	
	public AppEvent getAppEventById(String identifier)throws AppBusinessException;
	
	public void deleteById(String identifier)throws AppBusinessException;
}	
